package com.bibrApp.difu.Response;


import java.io.Serializable;

/**
 * id	用户ID	String
 * memberId	用户代号	String
 * parentId	邀请人	String
 * mobile	电话	String
 * email	邮箱	String
 * tradePassword	交易密码	String
 * name	姓名	String
 * idcard	身份证号码	String
 * idcardPicCheckType	认证状态	Int	详见下图
 * idcardPicCheckId	认证过程状态	Int	详见下图
 * feeDeductionType	使用BT抵扣交易手续费	Int
 * tradePasswordType	交易时是否输入交易密码的设定	Int
 * changePasswordType	修改密码后，是否在24内禁止提币	Int
 */

public class LoginResponseBody implements Serializable {
    private final static long serialVersionUID = 11L;
    private CenterUserMain userMain;
    private TokenResultBO tokenResultBO;

    public CenterUserMain getCenterUserMain() {
        return userMain;
    }

    public void setCenterUserMain(CenterUserMain centerUserMain) {
        this.userMain = centerUserMain;
    }

    public TokenResultBO getTokenResultBO() {
        return tokenResultBO;
    }

    public void setTokenResultBO(TokenResultBO tokenResultBO) {
        this.tokenResultBO = tokenResultBO;
    }

    /**
     * "userMain": {
     * 			"id": "881257823b8c462f9b406cf5c79d8e29",
     * 			"memberId": "13571247",
     * 			"parentId": null,
     * 			"phone": "18328506458",
     * 			"email": null,
     * 			"password": null,
     * 			"tradePassword": null,
     * 			"nickName": null,
     * 			"nickImage": null,
     * 			"ordinaryCertification": 0,
     * 			"seniorCertification": 0,
     * 			"createTime": "2020-03-03T08:01:54.000+0000",
     * 			"regType": 0,
     * 			"ip": "183.220.113.106",
     * 			"disable": 0,
     * 			"passwordStatus": 0,
     * 			"passwordStrategy": 0,
     * 			"loginType": 0,
     * 			"updateTime": null,
     * 			"serialNumber": null,
     * 			"accountType": 0
     *                }
     */
    public class CenterUserMain implements Serializable {
        private final static long serialVersionUID = 0x12L;
        private String id;
        private String memberId;
        private String parentId;
        private String phone;
        private String email;
        private String tradePassword;
        private String nickName;
        private String nickImage;
        private Integer ordinaryCertification;
        private Integer seniorCertification;
        private String createTime;
        private String idcard;
        private String idcardPicFront;
        private String idcardPicBack;
        private String idcardPicOnhand;
        private Integer idcardPicCheckId;
        private Integer idcardPicCheckType;
        private String updateTime;
        private Integer disable;
        private Integer passwordStatus;
        private Integer passwordStrategy;
        private String serialNumber;
        private String ip;
        private Integer regType;
        private Integer accountType;
        private int loginType;

        public int getLoginType() {
            return loginType;
        }

        public void setLoginType(int loginType) {
            this.loginType = loginType;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMemberId() {
            return memberId;
        }

        public void setMemberId(String memberId) {
            this.memberId = memberId;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getTradePassword() {
            return tradePassword;
        }

        public void setTradePassword(String tradePassword) {
            this.tradePassword = tradePassword;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getNickImage() {
            return nickImage;
        }

        public void setNickImage(String nickImage) {
            this.nickImage = nickImage;
        }

        public Integer getOrdinaryCertification() {
            return ordinaryCertification;
        }

        public void setOrdinaryCertification(Integer ordinaryCertification) {
            this.ordinaryCertification = ordinaryCertification;
        }

        public Integer getSeniorCertification() {
            return seniorCertification;
        }

        public void setSeniorCertification(Integer seniorCertification) {
            this.seniorCertification = seniorCertification;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getIdcard() {
            return idcard;
        }

        public void setIdcard(String idcard) {
            this.idcard = idcard;
        }

        public String getIdcardPicFront() {
            return idcardPicFront;
        }

        public void setIdcardPicFront(String idcardPicFront) {
            this.idcardPicFront = idcardPicFront;
        }

        public String getIdcardPicBack() {
            return idcardPicBack;
        }

        public void setIdcardPicBack(String idcardPicBack) {
            this.idcardPicBack = idcardPicBack;
        }

        public String getIdcardPicOnhand() {
            return idcardPicOnhand;
        }

        public void setIdcardPicOnhand(String idcardPicOnhand) {
            this.idcardPicOnhand = idcardPicOnhand;
        }

        public Integer getIdcardPicCheckId() {
            return idcardPicCheckId;
        }

        public void setIdcardPicCheckId(Integer idcardPicCheckId) {
            this.idcardPicCheckId = idcardPicCheckId;
        }

        public Integer getIdcardPicCheckType() {
            return idcardPicCheckType;
        }

        public void setIdcardPicCheckType(Integer idcardPicCheckType) {
            this.idcardPicCheckType = idcardPicCheckType;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public Integer getDisable() {
            return disable;
        }

        public void setDisable(Integer disable) {
            this.disable = disable;
        }

        public Integer getPasswordStatus() {
            return passwordStatus;
        }

        public void setPasswordStatus(Integer passwordStatus) {
            this.passwordStatus = passwordStatus;
        }

        public Integer getPasswordStrategy() {
            return passwordStrategy;
        }

        public void setPasswordStrategy(Integer passwordStrategy) {
            this.passwordStrategy = passwordStrategy;
        }

        public String getSerialNumber() {
            return serialNumber;
        }

        public void setSerialNumber(String serialNumber) {
            this.serialNumber = serialNumber;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public Integer getRegType() {
            return regType;
        }

        public void setRegType(Integer regType) {
            this.regType = regType;
        }

        public Integer getAccountType() {
            return accountType;
        }

        public void setAccountType(Integer accountType) {
            this.accountType = accountType;
        }
    }

    /**
     * "tokenResultBO": {
     * 			"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiY2xpZW50MiIsImNsaWVudDEiXSwidXNlcl9uYW1lIjoiMTgzMjg1MDY0NTgiLCJzY29wZSI6WyJhcHAiXSwiZXhwIjoxNTgzMzc5NDA3LCJ1c2VySWQiOiI4ODEyNTc4MjNiOGM0NjJmOWI0MDZjZjVjNzlkOGUyOSIsImp0aSI6IjVhOTdlZmUzLWY1ODYtNDc5OC1iODViLWZjM2YzODM0NmViMSIsImNsaWVudF9pZCI6ImNsaWVudDEifQ.WvVD-NACCaPn635pFrNcpyKrBrzXTwP_sKzyZ5ABP_rAXXOFFcnkBzM0p1DzRrP29rXEUiBlb86NvqCUaYWmMIaYnNPpjBxSl8_fi_XNMOFzJneNl2DAkh1WJLRIrMfEUNFA91WeKWPBIIfg2HRC7-WsI-UrtsVDz7-NcvVmzGcIeMUFvBaF7WbreUykE0-y6WrwvU5ICOc9k_UjlHCawGKioEaRxMzlJsT-OIBhmgGqvxj1UktHlXhRsTrW6OqTisQKIxvOkYU2-i6bseVy1Ee1w2JThy6s5Ym1mCVvbZFjsjZKjx3XsmTjaQyIGJ0fqVXpTUei79L1JWtIX3a8SQ",
     * 			"token_type": null,
     * 			"expires_in": "3599",
     * 			"scope": null,
     * 			"jti": null,
     * 			"refresh_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiY2xpZW50MiIsImNsaWVudDEiXSwidXNlcl9uYW1lIjoiMTgzMjg1MDY0NTgiLCJzY29wZSI6WyJhcHAiXSwiYXRpIjoiNWE5N2VmZTMtZjU4Ni00Nzk4LWI4NWItZmMzZjM4MzQ2ZWIxIiwiZXhwIjoxNTgzNDExODA3LCJ1c2VySWQiOiI4ODEyNTc4MjNiOGM0NjJmOWI0MDZjZjVjNzlkOGUyOSIsImp0aSI6IjAwMDkzYzZkLTQ5NmYtNDQ3My1hNDhkLTE5OTIwMWE1NWM2ZiIsImNsaWVudF9pZCI6ImNsaWVudDEifQ.wzT01WolJvSt8x3HRjcN_rQzxU33P4Rfb3jXEh-WkR_lvZ-TLp0WdQ_uRa1saRkrIWfGAZEiWun_RGkNzPzn-XpXkNBUKfTvmlMbhpH4buT9PnxUrruD0rK0v-E0ojigKT4k8Y8k-9_ipVbOmjDe0Be6BipwKZWK4ktnSWMqAXTAykUkrdruDBR9Up6dF6E61l6uDmsHjNxku1aMjmI5IB6ruFbkcHjjAyevGvKJwu-BQpA5XEyGwfbXkbNCOro7by-aUJBm_akfGOKNmYaai5kOi7K3P1kRH1TeE_CefcaH6z4Ns_dY4JbB9ozQBvzA9Tt6hoz0rrSYDOJ4bUy0pQ",
     * 			"userId": "881257823b8c462f9b406cf5c79d8e29"
     *                }
     */
    public class TokenResultBO implements Serializable {
        private final static long serialVersionUID = 0x11L;
        private String access_token;
        private String token_type;
        private String expires_in;
        private String scope;
        private String jti;
        private String refresh_token;
        private String userId;

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public String getToken_type() {
            return token_type;
        }

        public void setToken_type(String token_type) {
            this.token_type = token_type;
        }

        public String getRefresh_token() {
            return refresh_token;
        }

        public void setRefresh_token(String refresh_token) {
            this.refresh_token = refresh_token;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }
    }

}
